package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.comboBox.NxComboBox;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.text.NxLabel;
	import newx.com.control.text.NxText;
	
	/**
	 * 拜师界面
	 * @author zhouqiang
	 * 
	 */	
	public class EmulateUI extends BaseUI
	{
		public static var _self:EmulateUI;
		
		public var partnerBoxList:NxComboBox;
		
		//public var buyBtn:NxButton;
		
		//public var numLab:NxLabel;
		
		/**背景框*/
		public var leftBack:MovieClip;
		
		public var landi:MovieClip;
		
		public var lineback:MovieClip;
		/**升级练功房*/
		public var upTeacher:NxButton;
		
		/**刷新师父状态*/
		public var refreshBtn:NxButton;
		
		public var houseClip:NxClip;
		
		/**心得imag*/
		public var herbClip:NxClip;
		
		/**升级队列*/
		public var upClip:NxClip;
		
		/**经验进度条*/
		public var expBar:MovieClip;
		/**礼物图片*/
		public var gift0:NxClip;
		public var gift1:NxClip;
		public var gift2:NxClip;
		public var gift3:NxClip;
		public var gift4:NxClip;
		/**礼物文本*/
		public var txtLab_0:NxLabel;
		public var txtLab_1:NxLabel;
		public var txtLab_2:NxLabel;
		public var txtLab_3:NxLabel;
		public var txtLab_4:NxLabel;
		
		public var nowlab:NxLabel;
		
		public var explab:NxLabel;
		
		public var titLab:NxLabel;
		
		public var tit:MovieClip;
		
		public var headClip:NxClip;
		
		public var ExpLab:NxLabel;
		
		public var _viweGruop:NxViewGroup;
		
		public var beginbtn:NxButton
		
		public var explainText:NxText;
		
		/**武学img*/
		//public var imgClip:NxClip;
		
		/**分割线*/
		public var lineBack:MovieClip;
		
		//public var labBack:MovieClip;
			
		/**背景底图*/
		public var baishidi:MovieClip;
				
		/**分割线*/
		public var clipBack:MovieClip;
		
		public var btn1:NxButton
		public var btn2:NxButton
		public var btn3:NxButton
		//public var timeLab:NxLabel;
		
		/**得到金钱*/
		public var getExpLab:NxLabel;
		
		/**拜师成功特效*/
		public var succeedEffect:MovieClip;
		
		/**清除CD按钮*/
		public var clearCDbtn:NxButton;
		
		public function EmulateUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		public static function getInstance():EmulateUI
		{
			if(_self == null)
			{
				_self	=	new EmulateUI();
			}
			return _self;
		}
		override public function Init():void
		{
			EmulateLogic.getInstance().Init();
		}
		
		override protected function BeforeShow():void
		{
			EmulateLogic.getInstance().BeforeShow();
		}
		
		override protected function AfterHide():void
		{
			EmulateLogic.getInstance().AfterHide();
		}
	}
}